package cn.ven.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("t_like")
public class Like {
    @TableId(type = IdType.AUTO)
    private Integer id; //点赞id
    private Integer uid; //用户id
    private Integer blogid; //博客id

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getBlogid() {
        return blogid;
    }

    public void setBlogid(Integer blogid) {
        this.blogid = blogid;
    }

    @Override
    public String toString() {
        return "Like{" +
                "id=" + id +
                ", uid=" + uid +
                ", blogid=" + blogid +
                '}';
    }
}
